EDIT

Syntax: EDIT [start_number] [,step]
Location: QL ROM

This command allows you to enter the SuperBASIC line editor in order to alter a SuperBASIC program loaded in memory. It will automatically create line numbers in the command line (#0) to assist in entering SuperBASIC programs, in much the same way as AUTO.

Once entered, you will be presented with the first line start_number (default 100) - if this line already exists in the program, then the existing line will be presented. Otherwise, you will only see the current line number. Pressing the up and down arrow keys will move you to the previous line or the next line (respeprogram, although if there is no previous (or next) line, then you will exit the EDIT mode. However, if you press the Enter key, if step is specified (default 0), this will act in the same way as AUTO. However, if step is not specified, you will leave EDIT mode.

NOTE:
On SMS the EDIT command is exactly the same as ED.

CROSS-REFERENCE:
AUTO is very similar, especially where step is specified.
DLINE deletes program lines.
INPUT contains details of the available keypresses for cursor navigation.
ED provides a different means of editing a SuperBASIC program.
